{% extends "base.html" %}
 <!-- 页首  here -->
    {% block headers %}
    {% endblock %}

{% block contend %}

<div class="row">
    <div class="col-xs-12">
        <div class="box">
            <div class="box-header">
                <a class="box-title" href="/masq"><b>Masq列表</b></a> /
                <a  class="box-title" href="/masq/add"><b>添加域名</b></a>
            </div>
            <!-- /.box-header -->

            <form class="form-horizontal" method="post">
              <div class="box-body">
                <div class="form-group">
                  <label class="col-sm-2 control-label">域名</label>

                  <div class="col-sm-10">
                    <input type="text" class="form-control"  name="domain" placeholder="域名" required>
                  </div>
                </div>
                <div class="form-group">
                  <label  class="col-sm-2 control-label">IP地址</label>

                  <div class="col-sm-10">
                    <input type="text" class="form-control" name="ip" placeholder="IP地址" required>
                  </div>
                </div>
                <div class="form-group">
                  <div class="col-sm-offset-2 col-sm-10">

                        启用 <input type="radio" name="status" value="0" checked><br>
                        禁用 <input type="radio" name="status" value="1">

                  </div>
                </div>
              </div>
              <!-- /.box-body -->
              <div class="box-footer">
                <a href="/masq"><button type="button" class="btn btn-default">取消</button></a>
                <button type="submit" class="btn btn-info pull-right">添加</button>
              </div>
              <!-- /.box-footer -->
            </form>
            <!-- /.box-body -->
        </div>
        <!-- /.box -->
    </div>
</div>



{% endblock %}

{% block footerjs %}

{% endblock %}